<?php
/**
 * 商品
 * Enter description here ...
 * @author nijn
 *
 */
class GoodsController extends FrontController{
	public $modelName = 'CompanyHotel';
	/**
	 * indexAction 商品首页
	 * listAction 商品列表
	 * viewAction 商品详情
	 * searchAction 商品搜索
	 */
    public function actionIndex(){
    	$this->render('index');
    }
    public function actionSearch(){}

	public function actions() {
		return array_merge(parent::actions(),array(
			'list' => array(
				'class' => 'application.components.actions.front.ListAction',
				'modelName' => 'CompanyHotel'
			),
		));
	}
}

?>